// 卡片.js 中添加返回按钮功能
const backBtn = document.getElementById("backBtn");
backBtn.addEventListener("click", () => {
  window.history.back(); // 点击返回上一页
});

// 保留原有卡片跳转逻辑
const upperCard = document.getElementById("upperCard");
const lowerCard = document.getElementById("lowerCard1");

upperCard.addEventListener("click", () => {
  window.location.href = "../html/旅行地图.html";
});
